home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / lh113src.zip / READ.ME < prev    next >
Text File  |  1989-06-25  |  2KB  |  46 lines

  1. The following are files which allow you to compile Lharc using
  2. Masm or Tasm instead of Opasm, and debug instead of Symdeb.
  3.  
  4. There are a couple of changes you will need to make to SFX.ASM
  5. and SFX2.ASM.  The original source line in each looks like this:
  6.  
  7. _BSS    segment    para public 'BSS'        ;
  8.  
  9. In order to get it to work with Tasm or Masm change it to:
  10.  
  11. _BSS    segment at 1000h                ;
  12.             org 0h
  13.  
  14. This really makes it into something similar to a  structure--it allows 
  15. the memory addresses to be referenced from a base, but doesn't
  16. take up any memory in the obj file.  Opasm is evidently smart
  17. enough not to save space in the OBJ file.  Anyway, this works.
  18.  
  19. With those changes you can assemble with either Masm or Tasm, but
  20. you won't be able to link with Tlink unless you do a search and
  21. replace for al for the 'DGROUP:' statements and change them to
  22. '_BSS:'.  This isn't necessary if you are using Microsoft's Link.
  23. You will also need to change the ASSUME statements from ds:DGROUP
  24. to ds:_BSS to work with Tlink.
  25.  
  26. Also, in order to modify the SFX2BIN.OBJ and SFXBIN.OBJ so that
  27. they are byte aligned instead of para aligned if you don't have
  28. Symdeb (as the original make file requires) you may use Batty.com
  29. and sfx2bt.bat and sfxbt.bat to do the same thing.  However, you
  30. can't run batty.com from a batch file, so don't put the make in a
  31. batch file.
  32.  
  33. Turbo C 2.0 seems to work ok in making Lharc.  I don't know about
  34. Microsoft's C though.
  35.  
  36. I naturally can't claim any responsibility if these ideas don't
  37. work or cause harm.
  38.  
  39. If you have any suggestions as to better ways to do this than
  40. I've done, or questions, pleas drop me a note.  My Genie address
  41. is R.Clark20, and my phone number is (603) 827-3908.
  42.  
  43. Ralph W. Clark
  44. P.O. Box 807
  45. Harrisville, NH 03450
  46.